package com.rzj.sys_lab_assistant.entity;

/**
 * @program: sys_lab_assistant
 * @description: 助理类
 * @author: 作者
 * @create: 2021-06-28 10:11
 */

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_assistant")
public class Assistant {

    private int aId; // 助理编号

    private String studentNo; // 学号

    private String aName; // 学生姓名

    private String aPwd; // 密码

    private String aMajor; // 专业

    private String aCollege; // 学院

    private String aGrade; // 年级

    private String aEmail; // 邮箱

    private String aMobile; // 手机号

    private String imgUrl; // 照片路径

    private int labId; // 所属实验室id

    private int status; // 状态 0-在职 1-离职

    private Timestamp createTime; // 创建时间

    private Timestamp modifyTime; // 更新时间

    public Assistant(int aId, String studentNo, String aName,
                     String aPwd, String aMajor, String aCollege,
                     String aGrade, String aEmail, String aMobile,
                     String imgUrl, int labId, int status) {
        this.aId = aId;
        this.studentNo = studentNo;
        this.aName = aName;
        this.aPwd = aPwd;
        this.aMajor = aMajor;
        this.aCollege = aCollege;
        this.aGrade = aGrade;
        this.aEmail = aEmail;
        this.aMobile = aMobile;
        this.imgUrl = imgUrl;
        this.labId = labId;
        this.status = status;
    }
}
